package com.baox.agridata.synchronous.dao.quanguo;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baox.agridata.synchronous.entity.quanguo.Jyzscpb;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface JyzQGcpaMapper {


    /**
     * 查询全国产品A证到达本省的数据
     *
     * @return
     */
    @DS("quanguo")
    List<Jyzscpb> getJyzqgcpaList();


    /**
     * 删除全国数据
     *
     * @param list
     */
    @DS("quanguo")
    Integer deleteJyzqgcpaList(@Param("list") List<Jyzscpb> list);


    /**
     * 单条删除数据
     *
     * @param id
     * @return
     */
    @DS("quanguo")
    Integer deleteJyzqgcpa(@Param("id") String id);


}
